<?php

namespace api\wechat;

//周转房
class room
{
    //获取全量周转房
    public function getAll($data){
        $con=con();
        $data=mysqli_query($con,"select * from room where is_delete=1 and status=1 order by `id` DESC");
        $data=mysqli_fetch_all($data,true);
        mysqli_close($con);
        return out_right($data);
    }
}